using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class GameManager : MonoBehaviour
{
    public static Queue<Action> actionQueue = new Queue<Action>();
    private void Update()
    {
        if (actionQueue.Count > 0)
            actionQueue.Dequeue().Invoke();
    }
}
